<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <body>

        <ui:composition template="./UserTemplate.xhtml">

            <ui:define name="content">
                <center>
                    <table border="0">

                        <tbody>
                            <tr>
                                
                                <td valign="top">
                                    <h2 style="color: blue">Meet Our Consultant</h2>
                                     <img src="../resources/images/User/1.gif"/>
                                     <b>2nd floor, D Building, Hacinco Student vilage, Hanoi</b><br/>
                                   <img src="../resources/images/User/2.gif"/>
                                    <b>(+84) 4 3333 8888</b>
                                     <h3><img src="../resources/images/User/3.gif"/><b>Please send your opinion to us : </b></h3>

                                     <table border="0">
                                         <tbody>
                                             <tr>
                                                 <td align="right"><h3 style="color: black">Your Name : </h3></td>
                                                 <td> <p:inputText value="#{contactBean.con.firstName}" style="width: 200px"/></td>

                                             </tr>
                                             <tr>
                                                 <td align="right"><h3 style="color: black">E-mail : </h3></td>
                                                 <td><p:inputText value="#{contactBean.con.yourEmail}" style="width: 200px"/></td>

                                             </tr>
                                             <tr>
                                                 <td valign="top" align="right"><h3 style="color: black">Your opinion : </h3></td>
                                                 <td><p:inputTextarea value="#{contactBean.con.message}" style="width: 200px; height: 200px"/></td>

                                             </tr>
                                             <tr>
                                                 <td></td>
                                                 <td>
                                                     <h:commandButton value="Send" actionListener="#{contactBean.addContactShrink}" action="Home"/>
                                                     <h:commandButton value="Reset" type="reset"/>
                                                 </td>

                                             </tr>
                                         </tbody>
                                     </table>
                                </td>
                                <td valign="top">
                                    <h2 style="color: blue">Our Location </h2>
                                    <img src="../resources/images/User/map_vn.jpg" alt="logo" width="600px" height="403px"/>

                                </td>
                            </tr>
                        </tbody>
                    </table>


                </center>
            </ui:define>

        </ui:composition>

    </body>
</html>
